package pl.jtb.ctl.tabory.dao.data.vo;

import java.util.Date;

public class UserVO implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private UserRoleVO userRoleVO;
    private String userName;
    private String userLogon;
    private String userPass;
    private Date dateValidFrom;
    private Date dateValidUntil;
    private boolean active;

    public UserVO() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public UserRoleVO getUserRoleVO() {
        return this.userRoleVO;
    }

    public void setUserRoleVO(UserRoleVO userRoleVO) {
        this.userRoleVO = userRoleVO;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserLogon() {
        return this.userLogon;
    }

    public void setUserLogon(String userLogon) {
        this.userLogon = userLogon;
    }

    public String getUserPass() {
        return this.userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public Date getDateValidFrom() {
        return this.dateValidFrom;
    }

    public void setDateValidFrom(Date dateValidFrom) {
        this.dateValidFrom = dateValidFrom;
    }

    public Date getDateValidUntil() {
        return this.dateValidUntil;
    }

    public void setDateValidUntil(Date dateValidUntil) {
        this.dateValidUntil = dateValidUntil;
    }

    public boolean isActive() {
        return this.active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    @Override
    public String toString() {
        return "UserVO [id=" + id + ", userRoleVO=" + userRoleVO + ", userName=" + userName + ", userLogon=" + userLogon + ", userPass=" + userPass + ", dateValidFrom=" + dateValidFrom + ", dateValidUntil=" + dateValidUntil + ", active="
                + active + "]";
    }

}
